package com.tiany.java_study;

//方法重载
public class OverloadTest {
    public void print(int a) {
        System.out.println(a);
    }

    public void print(double a) {
        System.out.println(a);
    }
}
